home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / p_man / cat3 / f90 / ibchng.z / ibchng
Encoding:
Text File  |  2002-10-03  |  1.9 KB  |  46 lines

  1. IBCHNG(3I)                                            Last changed: 4-13-99
  2.  
  3.  
  4. NNAAMMEE
  5.      IIBBCCHHNNGG, IIIIBBCCHHNNGG, JJIIBBCCHHNNGG, KKIIBBCCHHNNGG - Reverses the value of a specified
  6.      bit in an integer
  7.  
  8. SSYYNNOOPPSSIISS
  9.      IIBBCCHHNNGG (([II==]_i,, [PPOOSS==]_p_o_s))
  10.      IIIIBBCCHHNNGG (([II==]_i,, [PPOOSS==]_p_o_s))
  11.      JJIIBBCCHHNNGG (([II==]_i,, [PPOOSS==]_p_o_s))
  12.      KKIIBBCCHHNNGG (([II==]_i,, [PPOOSS==]_p_o_s))
  13.  
  14. IIMMPPLLEEMMEENNTTAATTIIOONN
  15.      UNICOS, UNICOS/mk, IRIX systems
  16.  
  17.      CF90, MIPSpro 7 Fortran 90, MIPSpro Fortran 77
  18.  
  19. SSTTAANNDDAARRDDSS
  20.      Fortran extensions
  21.  
  22. DDEESSCCRRIIPPTTIIOONN
  23.      The IIBBCCHHNNGG, IIIIBBCCHHNNGG, JJIIBBCCHHNNGG, and KKIIBBCCHHNNGG intrinsic functions reverse
  24.      the value of a specified bit in an integer.  They accept the following
  25.      arguments:
  26.  
  27.      _i         Must of of type integer.  Contains the bit to be reversed.
  28.                For IIIIBBCCHHNNGG, must be of type integer (KIND=2).  For JJIIBBCCHHNNGG,
  29.                must be of type integer (KIND=4).  For KKIIBBCCHHNNGG, must be of
  30.                type integer (KIND=8).
  31.  
  32.      _p_o_s       Must be of type integer.  Specifies the position of the bit
  33.                to be reversed.  The rightmost (least significant) bit of _i
  34.                is in position 0.
  35.  
  36.      These are elemental intrinsic functions.  The names of these
  37.      intrinsics cannot be passed as arguments.
  38.  
  39. RREETTUURRNN VVAALLUUEESS
  40.      The result type and type parameter are the same as _i.  The result is
  41.      equal to _i, with the bit in position _p_o_s reversed.
  42.  
  43. SSEEEE AALLSSOO
  44.      _I_n_t_r_i_n_s_i_c _P_r_o_c_e_d_u_r_e_s _R_e_f_e_r_e_n_c_e _M_a_n_u_a_l for the printed version of this
  45.      man page.
  46.